package com.ronghui.cash.parambean;

import com.ronghui.cash.util.Validator;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

public class AuthContactBean {
	
	/**
	 * 联系人1
	 */
	@NotNull(message = "联系人1姓名不能为空")
	@Pattern(regexp = Validator.REGEX_CHINESE_NAME, message = "联系人1姓名格式错误")
	private String name1;
	
	@NotNull(message = "联系人1手机号不能为空")
	@Pattern(regexp = Validator.REGEX_MOBILE, message = "联系人1手机号格式错误")
	private String phone1;
	
	@NotNull(message = "联系人1类型不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人1类型格式错误")
	private String type1;

	//联系人等级（1：常用联系人，2：紧急联系人）
	@NotNull(message = "联系人1联系人等级不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人1联系人等级格式错误")
	private String level1;


	/**
	 * 联系人2
	 */
	@NotNull(message = "联系人2姓名不能为空")
	@Pattern(regexp = Validator.REGEX_CHINESE_NAME, message = "联系人2姓名格式错误")
	private String name2;

	@NotNull(message = "联系人2手机号不能为空")
	@Pattern(regexp = Validator.REGEX_MOBILE, message = "联系人2手机号格式错误")
	private String phone2;

	@NotNull(message = "联系人2类型不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人2类型格式错误")
	private String type2;

	//联系人等级（1：常用联系人，2：紧急联系人）
	@NotNull(message = "联系人2联系人等级不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人2联系人等级格式错误")
	private String level2;


	/**
	 * 联系人3
	 */
	@NotNull(message = "联系人3姓名不能为空")
	@Pattern(regexp = Validator.REGEX_CHINESE_NAME, message = "联系人3姓名格式错误")
	private String name3;

	@NotNull(message = "联系人3手机号不能为空")
	@Pattern(regexp = Validator.REGEX_MOBILE, message = "联系人3手机号格式错误")
	private String phone3;

	@NotNull(message = "联系人3类型不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人3类型格式错误")
	private String type3;

	//联系人等级（1：常用联系人，2：紧急联系人）
	@NotNull(message = "联系人3联系人等级不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人3联系人等级格式错误")
	private String level3;


	/**
	 * 联系人4
	 */
	@NotNull(message = "联系人4姓名不能为空")
	@Pattern(regexp = Validator.REGEX_CHINESE_NAME, message = "联系人4姓名格式错误")
	private String name4;

	@NotNull(message = "联系人4手机号不能为空")
	@Pattern(regexp = Validator.REGEX_MOBILE, message = "联系人4手机号格式错误")
	private String phone4;

	@NotNull(message = "联系人4类型不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人4类型格式错误")
	private String type4;

	//联系人等级（1：常用联系人，2：紧急联系人）
	@NotNull(message = "联系人4联系人等级不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人4联系人等级格式错误")
	private String level4;


	/**
	 * 联系人5
	 */
	@NotNull(message = "联系人5姓名不能为空")
	@Pattern(regexp = Validator.REGEX_CHINESE_NAME, message = "联系人5姓名格式错误")
	private String name5;

	@NotNull(message = "联系人5手机号不能为空")
	@Pattern(regexp = Validator.REGEX_MOBILE, message = "联系人5手机号格式错误")
	private String phone5;

	@NotNull(message = "联系人5类型不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人5类型格式错误")
	private String type5;

	//联系人等级（1：常用联系人，2：紧急联系人）
	@NotNull(message = "联系人5联系人等级不能为空")
	@Pattern(regexp = Validator.REGEX_Number, message = "联系人5联系人等级格式错误")
	private String level5;

	public String getName1() {
		return name1;
	}

	public void setName1(String name1) {
		this.name1 = name1;
	}

	public String getPhone1() {
		return phone1;
	}

	public void setPhone1(String phone1) {
		this.phone1 = phone1;
	}

	public String getType1() {
		return type1;
	}

	public void setType1(String type1) {
		this.type1 = type1;
	}

	public String getLevel1() {
		return level1;
	}

	public void setLevel1(String level1) {
		this.level1 = level1;
	}

	public String getName2() {
		return name2;
	}

	public void setName2(String name2) {
		this.name2 = name2;
	}

	public String getPhone2() {
		return phone2;
	}

	public void setPhone2(String phone2) {
		this.phone2 = phone2;
	}

	public String getType2() {
		return type2;
	}

	public void setType2(String type2) {
		this.type2 = type2;
	}

	public String getLevel2() {
		return level2;
	}

	public void setLevel2(String level2) {
		this.level2 = level2;
	}

	public String getName3() {
		return name3;
	}

	public void setName3(String name3) {
		this.name3 = name3;
	}

	public String getPhone3() {
		return phone3;
	}

	public void setPhone3(String phone3) {
		this.phone3 = phone3;
	}

	public String getType3() {
		return type3;
	}

	public void setType3(String type3) {
		this.type3 = type3;
	}

	public String getLevel3() {
		return level3;
	}

	public void setLevel3(String level3) {
		this.level3 = level3;
	}

	public String getName4() {
		return name4;
	}

	public void setName4(String name4) {
		this.name4 = name4;
	}

	public String getPhone4() {
		return phone4;
	}

	public void setPhone4(String phone4) {
		this.phone4 = phone4;
	}

	public String getType4() {
		return type4;
	}

	public void setType4(String type4) {
		this.type4 = type4;
	}

	public String getLevel4() {
		return level4;
	}

	public void setLevel4(String level4) {
		this.level4 = level4;
	}

	public String getName5() {
		return name5;
	}

	public void setName5(String name5) {
		this.name5 = name5;
	}

	public String getPhone5() {
		return phone5;
	}

	public void setPhone5(String phone5) {
		this.phone5 = phone5;
	}

	public String getType5() {
		return type5;
	}

	public void setType5(String type5) {
		this.type5 = type5;
	}

	public String getLevel5() {
		return level5;
	}

	public void setLevel5(String level5) {
		this.level5 = level5;
	}
}
